package com.jaws.core.mvc.exception;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 异常通知接口
 * 
 * @author maojian
 * @date 2017-12-05 17:07:48
 * @since v1.0.0
 */
public interface ExceptionNotify {

	/**
	 * 异常通知
	 * 
	 * @author maojian
	 * @date 2017-12-05 17:07:58
	 * @since v1.0.0
	 * @param request
	 * @param response
	 * @param handler
	 * @param ex
	 */
	public void notifyException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex);

}
